package cn.xo68.boot.auth.server.domain;


import java.util.Date;



/** 
 * OauthUser 实体
 * @author wuyy(16349023@qq.com)
 * @date 2018年09月10日 11:34:33
 *
 */
public class OauthUser implements java.io.Serializable{
	
	private static final long serialVersionUID = 1L;

	private String userId;
	/**
	 * 登录帐户
	 */
	private String account;
	private String userPass;
	/**
	 * 用户真名或昵称
	 */
	private String userName;
	/**
	 * 用户性别：m男，w女
	 */
	private String sex;
	/**
	 * 用户类型，0管理员，1普通管理
	 */
	private Integer userType;
	private Date birthday;
	private String phone;
	private String email;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 最后登录时间
	 */
	private Date lastLoginTime;
	/**
	 * 登录次数
	 */
	private Integer loginCount;
	/**
	 * 用户状态，0锁定，1解锁
	 */
	private Integer userLock;
	
	@Override
	public String toString(){
		return "userId:"+this.userId+","+"account:"+this.account+","+"userPass:"+this.userPass+","+"userName:"+this.userName+","+"sex:"+this.sex+","+"userType:"+this.userType+","+"birthday:"+this.birthday+","+"phone:"+this.phone+","+"email:"+this.email+","+"createTime:"+this.createTime+","+"lastLoginTime:"+this.lastLoginTime+","+"loginCount:"+this.loginCount+","+"userLock:"+this.userLock;
	}
	

	public String getUserId() {
		return this.userId;
	}
	public void setUserId(String value) {
		this.userId = value;
	}	

	public String getAccount() {
		return this.account;
	}
	public void setAccount(String value) {
		this.account = value;
	}	

	public String getUserPass() {
		return this.userPass;
	}
	public void setUserPass(String value) {
		this.userPass = value;
	}	

	public String getUserName() {
		return this.userName;
	}
	public void setUserName(String value) {
		this.userName = value;
	}	

	public String getSex() {
		return this.sex;
	}
	public void setSex(String value) {
		this.sex = value;
	}	

	public Integer getUserType() {
		return this.userType;
	}
	public void setUserType(Integer value) {
		this.userType = value;
	}	

	public Date getBirthday() {
		return this.birthday;
	}
	public void setBirthday(Date value) {
		this.birthday = value;
	}	

	public String getPhone() {
		return this.phone;
	}
	public void setPhone(String value) {
		this.phone = value;
	}	

	public String getEmail() {
		return this.email;
	}
	public void setEmail(String value) {
		this.email = value;
	}	

	public Date getCreateTime() {
		return this.createTime;
	}
	public void setCreateTime(Date value) {
		this.createTime = value;
	}	

	public Date getLastLoginTime() {
		return this.lastLoginTime;
	}
	public void setLastLoginTime(Date value) {
		this.lastLoginTime = value;
	}	

	public Integer getLoginCount() {
		return this.loginCount;
	}
	public void setLoginCount(Integer value) {
		this.loginCount = value;
	}	

	public Integer getUserLock() {
		return this.userLock;
	}
	public void setUserLock(Integer value) {
		this.userLock = value;
	}	
}